package com.trkj.dao.jpa;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.CcStorey;

public interface CcStoreyDAO extends CrudRepository<CcStorey, Long> {
	@Query("select c.stoName from CcStorey c where c.storeyId=?1")
	public String queryName(long d);
}
